package com.maserb.monitor.service.jwEducation;

import com.maserb.monitor.entity.JwEducationClobEntity;
import com.maserb.monitor.entity.JwEducationInfoEntity;
import com.maserb.monitor.entity.JwVideoEntity;
import com.maserb.monitor.repository.JwEducationInfoRepository;
import com.maserb.monitor.repository.JwVideoRepository;
import com.maserb.monitor.service.base.JpaSpecificationService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;


public interface JwVideoService extends JpaSpecificationService<JwVideoRepository, JwVideoRepository, JwVideoEntity, String> {
    Page<JwVideoEntity> findAll(Pageable pageable);

    Page<JwVideoEntity> findAll(Pageable pageable, String type ,String isRelease,String stauts);

    List<JwVideoEntity> findByTitle(String title);

    void doRelease(String id);

    void doDisabled(String id);

    void doTop(String id);

    void cancelTop(String id);

    Integer find();

}